﻿miniSched.userProfileModel = function (params) {
    var self = this;
    var params = params || {};

    self.UserName = ko.observable(params.UserName).extend({
        required: true,
        minLength: 3,
        maxLength: 50
    });
    self.EmailAddress = ko.observable(params.EmailAddress).extend({
        email: true
    });

    self.parent.constructor.call(self, params);
};

miniSched.userProfileModel.extend(miniSched.entityModel);

miniSched.userProfileModel.prototype.apiClient = new miniSched.userProfileApiClient();
